package com.codeying.entity;

import java.io.Serializable;
/**
* 管理员实体类
*/
public class Admin extends LoginUser implements Serializable {

    /**
     * 主键
    */
    private int aid;
    
        /**
     * 用户名
    */
    private String username;
    
        /**
     * 密码
    */
    private String password;
    
        /**
     * 姓名
    */
    private String name;
    
        /**
     * 电话
    */
    private String tele;
    
    

    public int getId () {
        return aid;
    }
    public void setId (int id ) {
        this.aid = aid;
    }
        public String getUsername () {
        return username;
    }
    public void setUsername (String username ) {
        this.username = username;
    }
        public String getPassword () {
        return password;
    }
    public void setPassword (String password ) {
        this.password = password;
    }
        public String getName () {
        return name;
    }
    public void setName (String name ) {
        this.name = name;
    }
        public String getTele () {
        return tele;
    }
    public void setTele (String tele ) {
        this.tele = tele;
    }
        /**
     * 角色
     */
    private String role = "admin";
    private String rolech = "管理员";

    public String getRole() {
        return role;
    }
    public void setRole(String role) {
        this.role = role;
    }
    public String getRolech() {
        return rolech;
    }
    public void setRolech(String rolech) {
        this.rolech = rolech;
    }


}

